﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Exhibition.Dao.ViewModel
{
    public class TreeModel
    {
        public string id { get; set; }
        public string funcode { get; set; }
        public string text { get; set; }
        public string state { get; set; }
        public string tagurl { get; set; }
        public bool IsChecked { get; set; }
        private List<TreeChildren> _ChildNodes;
        public List<TreeChildren> ChildNodes
        {
            get
            {
                if (_ChildNodes == null)
                {
                    _ChildNodes = new List<TreeChildren>();
                }
                return _ChildNodes;
            }
        }
    }

    public class TreeChildren
    {
        public int id { get; set; }
        public string text { get; set; }
        public string funcode { get; set; }
        public string state { get; set; }
    }
}
